<template>
	<p>当前鼠标的位置是：{{x}}, {{y}}</p>
</template>

<script setup>
	import useMouse from '@/compositionFunctions/mouse.js' 
	const { x, y } = useMouse()
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
